package com.hexb.smh.entity.view;

import com.hexb.smh.entity.LoginLog;
import com.hexb.smh.entity.enums.RoleType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author : hexb
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class LoginLogView extends LoginLog {

    @ApiModelProperty("登录名")
    private String loginName;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("国内手机号")
    private String phoneNo;

    @ApiModelProperty("角色")
    private RoleType role;

    @ApiModelProperty("头像(目前为随机头像)")
    private String avatar;
}
